import service from '@/utils/request'

// @Summary 统计平台用户每个月的注册量
export const userRegStat = (year) => {
  return service({
    url: '/stat/user/reg?year=' + year,
    method: 'get'
  })
}

// @Summary 统计平台用户每个月的注册量-明细
export const findUserRegStat = (data) => {
  return service({
    url: '/stat/user/detail',
    method: 'post',
    data
  })
}
